package cn.wolfcode.p2p.Exception;

public class CustomException extends RuntimeException {

    public CustomException(ErrorCode errorCode){
        super(errorCode.getMsg() + "[code:"+errorCode.getCode()+"]");
    }
}
